<div id="editdocument" class="largebloc2">
<?php echo $form->create('Document', array('action' => 'edit')); ?>
<table width="100%" border="0" cellspacing="2" cellpadding="0">
  <tr>
    <td width="90"><?php echo $form->label(__('name', true)); ?></td>
    <td><?php echo $form->hidden('Document.id'); ?><?php echo $form->text('Document.name'); ?></td>
  </tr>
  <tr>
    <td width="90"><?php echo $form->label('Description'); ?></td>
    <td><?php echo $form->textArea('Document.description'); ?>	
		<?php echo $form->hidden('Document.project_id', array ('value' => $project_id)); ?>
        <?php echo $form->hidden('project_name', array ('value' => $project_name)); ?>
		<?php echo $form->hidden('Document.ticket_id', array ('value' => 0)); ?>
    </td>
  </tr>
  <tr>
	<td width="90"><?php echo $form->label(__('fast_access', true)); ?></td>
	<td><?php echo $form->radio('Document.access', array('1'=>'yes', '2'=>'no'), Null, array()); ?></td>
  </tr>
  <tr>
    <td width="90"><?php echo $form->submit(__('edit', true)); ?></td>
    <td>&nbsp;<?php echo $html->link(__('cancel', true), ''); ?></td>
  </tr>
</table>
<?php echo $form->end(); ?>
</div>